package com.xca.znb.model.impl;

import android.content.Context;

import com.xca.znb.database.UserDAO;
import com.xca.znb.entity.Procurement;
import com.xca.znb.model.imodel.IProcurementMessage;

public class ProcurementMessageImpl implements IProcurementMessage {
    private UserDAO userDAO ;
    public ProcurementMessageImpl(Context context){
        userDAO = new UserDAO(context);
    }
    @Override
    public void deleteProcurementById(int id) {
        userDAO.deleteProcurementById(id);
    }

    @Override
    public Procurement getProcurementById(int id) {
        return userDAO.getProcurementById(id);
    }
}
